/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.manager;

import entity.Construct;
import java.util.Collection;
import javax.ejb.Local;

/**
 *
 * @author antonio
 */
@Local
public interface ConstructManagerBeanLocal {
    
    void initConstructs(String username);
    
    Construct findConstruct(String name);

    void createConstructs(String username, String construct, int amount);
    
    void destroyConstructs(String username, String construct, int amount);

    void beginConstructs(String username, String constructName, int amount);

    void occupiesConstructs(String username, String constructName, int amount);

    void releaseConstructs(String username, String construct, int amount);
    
    Collection<Construct> findAll();
    
}
